<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        /* 
        continue (继续)  跳过本次循环
        、berak   （打破） 跳出整个循环
        */

        for (let i = 1; i < 100; i++) {
            if (i % 7 == 0 || i % 10 == 7) {
                console.log(i);
                break
            } else {
                // console.log(i);
            }
            console.log('i 是');
        };
        console.log('g');
    </script>
</body>

</html>